<template>
  <div class="student-job-post">
    <Table
      title="岗位投递列表"
      ref="table"
      :searchData="searchData"
      :service="services.search"
      @selection-change="handleSelectionChange"
    >
      <el-table-column prop="jobName" :label="$t('job.jobName')" />
      <el-table-column prop="companyName" :label="$t('job.companyName')" />
      <el-table-column prop="postDate" :label="$t('job.postDate')" />
      <TableColumnEnum
        prop="employStatus"
        :label="$t('job.employStatus')"
        enumType="EMPLOY_STATUS"
      />
    </Table>
  </div>
</template>

<script>
import { crudMixin } from 'mixins'
import { Table, TableColumnEnum } from 'components'
import { searchJobPost } from 'services/student/job'
export default {
  name: 'StudentJobPost',
  components: {
    Table,
    TableColumnEnum
  },
  mixins: [crudMixin],
  data() {
    return {
      services: {
        search: searchJobPost
      }
    }
  }
}
</script>
